package com.shijunhao.graduation.domain.vo;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shijunhao.graduation.domain.entity.BusinessNoteDiscuss;
import com.shijunhao.graduation.domain.entity.BusinessUserInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author: shijunhao
 * @date: 2022/4/8 22:32
 * @description:
 */
@ApiModel("评论显示实体")
public class DiscussVo {
    @ApiModelProperty("初始实体数据")
    private CommonDiscussVo discuss;
    @ApiModelProperty("评论人信息")
    private BusinessUserInfo userInfo;
    @ApiModelProperty("当前用户是否已点赞")
    private Boolean good;
    @ApiModelProperty("子评论信息")
    private Page<DiscussVo> childDiscuss;


    public Boolean getGood() {
        return good;
    }

    public void setGood(Boolean good) {
        this.good = good;
    }

    public CommonDiscussVo getDiscuss() {
        return discuss;
    }

    public void setDiscuss(CommonDiscussVo discuss) {
        this.discuss = discuss;
    }

    public BusinessUserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(BusinessUserInfo userInfo) {
        this.userInfo = userInfo;
    }

    public Page<DiscussVo> getChildDiscuss() {
        return childDiscuss;
    }

    public void setChildDiscuss(Page<DiscussVo> childDiscuss) {
        this.childDiscuss = childDiscuss;
    }
}
